﻿using furion.blog.Domain.MySQL;
using furion.blog.Domain.Query.Role;
using furion.blog.Domain.Shared.Vo.Role;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.Application.Contracts
{
    public interface IRoleService
    {

        /// <summary>
        /// 角色详细信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<RoleDetailVO> Detail(long id);

        /// <summary>
        /// 查询所有角色
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<List<Role>> All(RoleDetailQuery query);

    }
}
